package com.itbour.service.yjx.trade;

import java.util.List;
import java.util.Map;

import com.itbour.com.page.Page;
import com.itbour.dto.trade.OrderInfoDto;
import com.itbour.dto.trade.OrderDetailInfoDto;
import com.itbour.dto.trade.PartnerInfoDto;
import com.itbour.dto.trade.StateHisInfoDto;


/**
 *		一键秀 订单管理
 *		@author l李琦	
 */
public interface YjxOrdersService {
	
	public Page ordersPgQuery(Map<String,Object> param, Integer pageNo, Integer pageSize);
	public List<OrderInfoDto> selectOrdersInfo(Map<String,Object> param);
	public void addOrder(OrderInfoDto orderInfo);
	public void delOrder(String delIds);
	public void updOrder(Map<String,Object> param);
	
	/**
	 * 订单明细
	 */
	public Page detailsPgQuery(Map<String,Object> param, Integer pageNo, Integer pageSize);
	public List<OrderDetailInfoDto> selectDetailsInfo(Map<String,Object> param);
	public void addDetail(OrderDetailInfoDto detailInfo);
	public void delDetail(String delIds);
	public void updDetail(Map<String,Object> param);
	
	// 检索合作方
	public List<PartnerInfoDto> selectPartnerInfo(Map<String,Object> param);
	
	// 订单状态历史
	public void addStateHis(StateHisInfoDto stateHisInfo);
	
	// 用户通知
	public void addNotifyUserRecd(Map<String,Object> param);
	

	/**
	 * 一键秀  用户积分管理
	 * @param parm
	 * @param pageNo
	 * @param pageSize
	 * @return
	 */
	public Page getPtsHisInfo(Map<String, Object> parm,Integer pageNo,Integer pageSize); // 查询用户积分
	
}
